<?php get_header(); ?>

<script>
  var count = 1;
  $(document).ready(function(){
    $('h2').each(function(){
      $(this).before('<div class="sort"><div class="bar"></div>'+count+'</div>');
      count++;
    });
  });
</script>

<div class="order">
  <?php echo wpautop($post->post_content); ?>
</div>

<?php get_footer(); ?>
